/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
/* Hay forma de normalizar estilos */
html {
	font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
/* Para probar en desktop */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	border: 0;
	font-size: 100%;
	margin: 0;
	padding: 0;
}
nav {
	display: block;
}
/* FIN para probar en desktop */
html, body, a, h1, h2, h3, h4, h5, h6, p, ul, ol, li {
	margin: 0;
	padding: 0;
}
body {
	/*background: #ccc;*/
	/*font-family: Arial Helvetica, sans-serif;*/
	font-size: 12px;
	margin: 0;
}
/* Modulación en em para iPhone Retina */
/*@media screen and (min-width: 960px), screen and (min-device-width: 960px) {
	body { font-size: 12px; }
}*/

/* Modulación para 480px de ancho */
/*@media screen and (max-width: 959px), screen and (min-width: 480px), screen and (max-device-width: 959px), screen and (min-device-width: 480px) {
	body { font-size: 2px; }
}*/
@media screen and (max-width: 500px), screen and (max-device-width: 500px) {
	body { font-size: 2px; }
}


a:focus {
    outline: thin dotted;
}
a:active, a:hover {
    outline: 0;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
img {
    border: 0;
}

/* apariencia */
/* Secciones */
.page {
	display: none;
	height: 100%;
	left: 0;
	position: relative;
	top: 0;
	width: 100%;
	z-index: 8;
}
.page.active {
	display: block;
}
.page .inner {
	padding: 4.167em 0 8.167em;
	background: #fff;
}
.page header {
	background: #fff;
	height: 5.333em;
	position: relative;
	width: 100%;
	text-align: center;
}
.page header h1 {
	font-size: 2.833em;
	font-weight: normal;
	padding-top: 0.412em;
	line-height: 1em;
}
.page header nav {
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	width: 21.8%;
	z-index: 10;
}
.page header nav a {
	display: block;
	height: 100%;
	color: #006bff;
	text-decoration: none;
	/*background: #ccc url("../img/comillon.gif") no-repeat 13px center;*/
	position: relative;
}
.page header nav a span {
	font-size: 2.833em; /*34px*/
	display: block;
	padding: 0.529em 0 0 31.42%;
	position: relative;
}
.page header nav a span:before {
	content: "‹";
	font-size: 2.647em;/*90px;*/
	line-height: 24px;
	display: inline-block;
	position: absolute;
	top: 0.178em; /*0.144em;*/
	left: 0.133em;
}
#programa header, #contacto header, #redes header {
	display: none;
}
/* Home */
.splash {
	overflow: hidden;
}
#home {
	/*overflow: hidden;
	height: 1%;
	padding-bottom: 99%;
}
#home img {
	position: absolute;
	top: 0;
	left: 0;*/
}
#home .inner {
	padding-bottom: 0;
}
#home img {
	width: 100%;
	height: auto;
}

/* listado noticias */
.page ul.racimo {
	display: block;
	width: 100%;
	/*padding-bottom: 8.250em;*/
	border-top: 1px solid #999999; 
}
.racimo>li {
	display: block;
	border: none;
	border-top: 1px solid #999999;
	border-bottom:  1px solid #999999;
	background: #fff;
	position: relative;
}
.racimo>li>a {
	display: block;
	padding: 48px 7.8% 62px 4.2%;
	width: 88%;
	height: 10.333em;
	position: relative;
	color: inherit;
	text-decoration: none;
}
.racimo li .icon {
	float: left;
	margin-right: 5.3%;
	height: 150%;
	text-align: center;
	border-radius: 2.333em;
	width: 120px;
	height: 120px;
	overflow: hidden;
}
.racimo li .iconBorde {
	border: 1px solid #929292;
}
.icon h4 {
	font-size: 1.667em;
	font-weight: normal;
	line-height: 0.800em;
	margin: 0.600em 0 0 0;
}
.icon h5 {
	font-size: 7.500em;
	font-weight: normal;
	line-height: 0.800em;
	margin: 0.133em 0 0 0;
}
.racimo li h3 {
	font-size: 2.333em;
	font-weight: normal;
	line-height: 0.7em;
	margin-bottom: 0.4em;
}
.racimo li p {
	font-size: 1.833em;
	line-height: 1.2em;
	text-align: justify;
}
.racimo>li>a:after {
	position: absolute;
	content: "›";
	z-index: 33;
	top: 50%;
	right: 1.5%;
	font-size: 7.500em;
	line-height: 1em;
	color: #006bff;
	margin-top: -0.5em;
}
.racimo li p:before {
	position: absolute;
	display: block;
	width: 30px;
	background: #f9f;
	height: 20px;
	bottom: 0;
}
/* Detalle evento */
#evento_detalle h2, #evento_detalle h3, #evento_detalle h4, #evento_detalle h5 {
	font-size: 28px;
	font-weight: normal;
	margin-left: 7.5%;
}
#evento_detalle h4 span {
	font-size: 22px;
}
#evento_detalle a.icon {
	display: block;
	width: 52px;
	height: 52px;
	float: right;
	background: url("../img/icon-compartir.gif") no-repeat center;
	margin: 1em 7.5% 0 0;
}
#evento_detalle a.icon span {
	display: none;
}
#evento_detalle .mapa {
	margin: 3.4% 7.5%;
}
#evento_detalle .mapa img {
	width: 100%;
	height: auto;
}

/* Galería */
#galeria .racimo ul {
	padding: 0 10% 64px;
	width: 80%;
}
#galeria .racimo li h3 {
	font-size: 2.833em;
	text-align: center;
	margin: 30px 0 16px; 
}
#galeria .racimo ul>li {
	display: inline-block;
	margin: 19px;
	width: 120px;
	height: 120px;
}
#galeria .racimo ul>li a img {
	position: relative;
	display: block;
	height: 100%;
	width: 100%;
	top: 0;
	left:0;
	z-index: 77;
}
#videos>li a img:before, #descargables>li a img:before {
	content: url("../img/over-icon-play.png");
	/*content: "";*/
	background: transparent url("../img/over-icon-play.png") no-repeat center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 88;
	display: block;
}
#descargables>li a:before {
	/*content: url("../img/over-icon-play.png");*/
}
.racimo>li>a.retro, .racimo>li>a.avanz {
	padding: 50% 0 0 0;
	width: 12.5%;
	height: 50%;
	position: absolute;
	font-size: 7.500em;
	color: #006bff;
	z-index: 34;
	top: 0;
}
.racimo>li>a.retro span, .racimo>li>a.avanz span {
	margin-top: -0.5em;
}
.racimo>li>a.retro {
	left: 0;
}
.racimo>li>a.avanz {
	right: 0;
}
.racimo>li>a.retro:after, .racimo>li>a.avanz:after {
	display: none;
	content: "";
}
/* Programa */
#programa img, #contacto img, #redes img {
	border: 3px solid #929292;
	margin: 27px 0 4.4% 8.5%;
	border-radius: 3px;
	width: 55.6%;
	height: auto;
}
#programa h2, #programa p {
	margin-right: 8.5%;
	margin-left: 8.5%;
	font-size: 25px;
	line-height: 1.2em;
	color: #616060;
}
#programa p {
	text-align: justify;
	margin-bottom: 1.2em;
	font-weight: lighter;
}
#programa .inner p a {
	color: #616060; 
}
/* Contacto */
textarea {
	margin: 2% 0;
}
label {
	margin-bottom: 1%;
}
input, textarea {
	border-radius: 3px;
	border: 3px solid #929292;
	color: #333;
}
label, input, textarea {
	font-family: sans-serif;
	font-size: 20px; 
}
textarea, label, input[type=button] {
	display: inline-block;
	margin-right: 8.5%;
	margin-left: 8.5%;
	width: 82%;
	color: #006bff;
}
input[type=button] {
	color: #fff;
	background: #006bff;
	padding: 1%;
	margin-bottom: 5%;
	border-radius: 6px;
	width: 83%;
}
label[for=nombre_usuario] {
	width: 60%;
}
label[for=email_usuario] {
	width: 71%;
}
label[for=tel_usuario] {
	width: 31%;
	margin-right: 1.5%;
}
label[for=dir_usuario] {
	width: 49%;
	margin-left: 0;
}
input#nombre_usuario, input#email_usuario, input#tel_usuario, input#dir_usuario {
	width: 100%;
}


/* Redes */
#redes h2 {
	font-size: 30px;
	font-weight: lighter;
	margin-left: 8.5%;
	color: #006bff;
}
#redes ul {
	display: block;
	width: 100%;
}
#redes li {
	display: block;
	width: 44.6%;
	margin: 2% auto;
	border-radius: 6px;
	border: 2px solid #666;
	/*background: url("../img/redes-icon-twit.jpg") no-repeat 2.4% center, url("../img/fondo-btn-redes-twi.jpg") repeat-x center;*/
	font-size: 28px;
	font-weight: bold;
	line-height: 34px;
	text-align: center;
	max-height: 46px;
	overflow: hidden;
}
#redes li.twit {
	background: url("../img/redes-icon-twit.jpg") no-repeat 2.4% center, url("../img/fondo-btn-redes-twi.jpg") repeat-x center;
	border-color: #009dbf;
}
#redes li.face {
	background: url("../img/redes-icon-face.jpg") no-repeat 2.4% center, url("../img/fondo-btn-redes-face.jpg") repeat-x center;
	border-color: #28478d;
}
#redes li.tube {
	background: url("../img/redes-icon-yout.jpg") no-repeat 2.4% center, url("../img/fondo-btn-redes-yout.jpg") repeat-x center;
	border-color: #e60017;
}
#redes li.pica {
	background: url("../img/redes-icon-pica.jpg") no-repeat 2.4% center, url("../img/fondo-btn-redes-pica.jpg") repeat-x center;
	border-color: #783c82;
}
#redes li a {
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 6px 0 7px 62px;
	height: 100%;
}
#redes li.face a {
	padding-left: 48px;
}
#redes li.tube a {
	padding-left: 54px;
}
#redes li.pica a {
	padding-left: 56px;
}

/* Menú principal */
.menu {
	position: fixed;
}
.menu#mainMenu {
	background: #f9f9f9;
	border-top: 1px solid #b2b2b2; 
	bottom: 0;
	height: 8.167em;
	left: 0;
	text-align: center;
	width: 100%;
	z-index: 99;
}
#mainMenu ul {
	display: block;
	height: 100%
}
#mainMenu li {
	background: transparent no-repeat center top;
	display: inline-block;
	font-size: 1.667em;
	margin: 0;
	padding: 0;
	width: 19%;
	height: 100%;
	position: relative;
	overflow: hidden;
}
#mainMenu .noti {
	background-image: url("../img/icon-noticias.gif");
}
#mainMenu .gal {
	background-image: url("../img/icon-galeria.gif");
}
#mainMenu .prog {
	background-image: url("../img/icon-programa.gif");
}
#mainMenu .contac {
	background-image: url("../img/icon-contacto.gif");
}
#mainMenu .red {
	background-image: url("../img/icon-redes.gif");
}
#mainMenu li.active {
	background-position: center bottom;
}
#mainMenu a {
	color: #929292;
	display: block;
	height: 100%;
	position: relative;
	width: 100%;
	text-decoration: none;
}
#mainMenu li.active a {
	color: #006bff;
}
#mainMenu a span {
	display: block;
	position: absolute;
	bottom: 0.200em;
	width: 100%;
	line-height: 100%
}
#mobilePhone {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	width: 100%;
	background: #d1d1d1;
	height: 4.167em;
	overflow: hidden;
	display: block;
}